package com.woniu.outlet.po;

import java.util.ArrayList;
import java.util.List;

public class BomPoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BomPoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeIsNull() {
            addCriterion("material_code is null");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeIsNotNull() {
            addCriterion("material_code is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeEqualTo(String value) {
            addCriterion("material_code =", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotEqualTo(String value) {
            addCriterion("material_code <>", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeGreaterThan(String value) {
            addCriterion("material_code >", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeGreaterThanOrEqualTo(String value) {
            addCriterion("material_code >=", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeLessThan(String value) {
            addCriterion("material_code <", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeLessThanOrEqualTo(String value) {
            addCriterion("material_code <=", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeLike(String value) {
            addCriterion("material_code like", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotLike(String value) {
            addCriterion("material_code not like", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeIn(List<String> values) {
            addCriterion("material_code in", values, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotIn(List<String> values) {
            addCriterion("material_code not in", values, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeBetween(String value1, String value2) {
            addCriterion("material_code between", value1, value2, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotBetween(String value1, String value2) {
            addCriterion("material_code not between", value1, value2, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIsNull() {
            addCriterion("material_name is null");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIsNotNull() {
            addCriterion("material_name is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialNameEqualTo(String value) {
            addCriterion("material_name =", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotEqualTo(String value) {
            addCriterion("material_name <>", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameGreaterThan(String value) {
            addCriterion("material_name >", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameGreaterThanOrEqualTo(String value) {
            addCriterion("material_name >=", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLessThan(String value) {
            addCriterion("material_name <", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLessThanOrEqualTo(String value) {
            addCriterion("material_name <=", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLike(String value) {
            addCriterion("material_name like", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotLike(String value) {
            addCriterion("material_name not like", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIn(List<String> values) {
            addCriterion("material_name in", values, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotIn(List<String> values) {
            addCriterion("material_name not in", values, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameBetween(String value1, String value2) {
            addCriterion("material_name between", value1, value2, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotBetween(String value1, String value2) {
            addCriterion("material_name not between", value1, value2, "materialName");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdIsNull() {
            addCriterion("warehouse_id is null");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdIsNotNull() {
            addCriterion("warehouse_id is not null");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdEqualTo(Long value) {
            addCriterion("warehouse_id =", value, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdNotEqualTo(Long value) {
            addCriterion("warehouse_id <>", value, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdGreaterThan(Long value) {
            addCriterion("warehouse_id >", value, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("warehouse_id >=", value, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdLessThan(Long value) {
            addCriterion("warehouse_id <", value, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdLessThanOrEqualTo(Long value) {
            addCriterion("warehouse_id <=", value, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdIn(List<Long> values) {
            addCriterion("warehouse_id in", values, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdNotIn(List<Long> values) {
            addCriterion("warehouse_id not in", values, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdBetween(Long value1, Long value2) {
            addCriterion("warehouse_id between", value1, value2, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andWarehouseIdNotBetween(Long value1, Long value2) {
            addCriterion("warehouse_id not between", value1, value2, "warehouseId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Long value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Long value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Long value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Long value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Long value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Long value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Long> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Long> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Long value1, Long value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Long value1, Long value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdIsNull() {
            addCriterion("classification_type_id is null");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdIsNotNull() {
            addCriterion("classification_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdEqualTo(Long value) {
            addCriterion("classification_type_id =", value, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdNotEqualTo(Long value) {
            addCriterion("classification_type_id <>", value, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdGreaterThan(Long value) {
            addCriterion("classification_type_id >", value, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("classification_type_id >=", value, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdLessThan(Long value) {
            addCriterion("classification_type_id <", value, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdLessThanOrEqualTo(Long value) {
            addCriterion("classification_type_id <=", value, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdIn(List<Long> values) {
            addCriterion("classification_type_id in", values, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdNotIn(List<Long> values) {
            addCriterion("classification_type_id not in", values, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdBetween(Long value1, Long value2) {
            addCriterion("classification_type_id between", value1, value2, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andClassificationTypeIdNotBetween(Long value1, Long value2) {
            addCriterion("classification_type_id not between", value1, value2, "classificationTypeId");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIsNull() {
            addCriterion("specification_model is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIsNotNull() {
            addCriterion("specification_model is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelEqualTo(String value) {
            addCriterion("specification_model =", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotEqualTo(String value) {
            addCriterion("specification_model <>", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelGreaterThan(String value) {
            addCriterion("specification_model >", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelGreaterThanOrEqualTo(String value) {
            addCriterion("specification_model >=", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLessThan(String value) {
            addCriterion("specification_model <", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLessThanOrEqualTo(String value) {
            addCriterion("specification_model <=", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLike(String value) {
            addCriterion("specification_model like", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotLike(String value) {
            addCriterion("specification_model not like", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIn(List<String> values) {
            addCriterion("specification_model in", values, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotIn(List<String> values) {
            addCriterion("specification_model not in", values, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelBetween(String value1, String value2) {
            addCriterion("specification_model between", value1, value2, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotBetween(String value1, String value2) {
            addCriterion("specification_model not between", value1, value2, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIsNull() {
            addCriterion("specification_unit is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIsNotNull() {
            addCriterion("specification_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitEqualTo(String value) {
            addCriterion("specification_unit =", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotEqualTo(String value) {
            addCriterion("specification_unit <>", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitGreaterThan(String value) {
            addCriterion("specification_unit >", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitGreaterThanOrEqualTo(String value) {
            addCriterion("specification_unit >=", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLessThan(String value) {
            addCriterion("specification_unit <", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLessThanOrEqualTo(String value) {
            addCriterion("specification_unit <=", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLike(String value) {
            addCriterion("specification_unit like", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotLike(String value) {
            addCriterion("specification_unit not like", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIn(List<String> values) {
            addCriterion("specification_unit in", values, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotIn(List<String> values) {
            addCriterion("specification_unit not in", values, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitBetween(String value1, String value2) {
            addCriterion("specification_unit between", value1, value2, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotBetween(String value1, String value2) {
            addCriterion("specification_unit not between", value1, value2, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitIsNull() {
            addCriterion("valuation_unit is null");
            return (Criteria) this;
        }

        public Criteria andValuationUnitIsNotNull() {
            addCriterion("valuation_unit is not null");
            return (Criteria) this;
        }

        public Criteria andValuationUnitEqualTo(String value) {
            addCriterion("valuation_unit =", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotEqualTo(String value) {
            addCriterion("valuation_unit <>", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitGreaterThan(String value) {
            addCriterion("valuation_unit >", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitGreaterThanOrEqualTo(String value) {
            addCriterion("valuation_unit >=", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitLessThan(String value) {
            addCriterion("valuation_unit <", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitLessThanOrEqualTo(String value) {
            addCriterion("valuation_unit <=", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitLike(String value) {
            addCriterion("valuation_unit like", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotLike(String value) {
            addCriterion("valuation_unit not like", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitIn(List<String> values) {
            addCriterion("valuation_unit in", values, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotIn(List<String> values) {
            addCriterion("valuation_unit not in", values, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitBetween(String value1, String value2) {
            addCriterion("valuation_unit between", value1, value2, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotBetween(String value1, String value2) {
            addCriterion("valuation_unit not between", value1, value2, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andSalePriceIsNull() {
            addCriterion("sale_price is null");
            return (Criteria) this;
        }

        public Criteria andSalePriceIsNotNull() {
            addCriterion("sale_price is not null");
            return (Criteria) this;
        }

        public Criteria andSalePriceEqualTo(String value) {
            addCriterion("sale_price =", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotEqualTo(String value) {
            addCriterion("sale_price <>", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceGreaterThan(String value) {
            addCriterion("sale_price >", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceGreaterThanOrEqualTo(String value) {
            addCriterion("sale_price >=", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceLessThan(String value) {
            addCriterion("sale_price <", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceLessThanOrEqualTo(String value) {
            addCriterion("sale_price <=", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceLike(String value) {
            addCriterion("sale_price like", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotLike(String value) {
            addCriterion("sale_price not like", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceIn(List<String> values) {
            addCriterion("sale_price in", values, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotIn(List<String> values) {
            addCriterion("sale_price not in", values, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceBetween(String value1, String value2) {
            addCriterion("sale_price between", value1, value2, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotBetween(String value1, String value2) {
            addCriterion("sale_price not between", value1, value2, "salePrice");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIsNull() {
            addCriterion("theoretical_weight is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIsNotNull() {
            addCriterion("theoretical_weight is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightEqualTo(String value) {
            addCriterion("theoretical_weight =", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotEqualTo(String value) {
            addCriterion("theoretical_weight <>", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightGreaterThan(String value) {
            addCriterion("theoretical_weight >", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightGreaterThanOrEqualTo(String value) {
            addCriterion("theoretical_weight >=", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLessThan(String value) {
            addCriterion("theoretical_weight <", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLessThanOrEqualTo(String value) {
            addCriterion("theoretical_weight <=", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLike(String value) {
            addCriterion("theoretical_weight like", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotLike(String value) {
            addCriterion("theoretical_weight not like", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIn(List<String> values) {
            addCriterion("theoretical_weight in", values, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotIn(List<String> values) {
            addCriterion("theoretical_weight not in", values, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightBetween(String value1, String value2) {
            addCriterion("theoretical_weight between", value1, value2, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotBetween(String value1, String value2) {
            addCriterion("theoretical_weight not between", value1, value2, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialIsNull() {
            addCriterion("texture_of_material is null");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialIsNotNull() {
            addCriterion("texture_of_material is not null");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialEqualTo(String value) {
            addCriterion("texture_of_material =", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotEqualTo(String value) {
            addCriterion("texture_of_material <>", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialGreaterThan(String value) {
            addCriterion("texture_of_material >", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialGreaterThanOrEqualTo(String value) {
            addCriterion("texture_of_material >=", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialLessThan(String value) {
            addCriterion("texture_of_material <", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialLessThanOrEqualTo(String value) {
            addCriterion("texture_of_material <=", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialLike(String value) {
            addCriterion("texture_of_material like", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotLike(String value) {
            addCriterion("texture_of_material not like", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialIn(List<String> values) {
            addCriterion("texture_of_material in", values, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotIn(List<String> values) {
            addCriterion("texture_of_material not in", values, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialBetween(String value1, String value2) {
            addCriterion("texture_of_material between", value1, value2, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotBetween(String value1, String value2) {
            addCriterion("texture_of_material not between", value1, value2, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andColorIsNull() {
            addCriterion("color is null");
            return (Criteria) this;
        }

        public Criteria andColorIsNotNull() {
            addCriterion("color is not null");
            return (Criteria) this;
        }

        public Criteria andColorEqualTo(String value) {
            addCriterion("color =", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotEqualTo(String value) {
            addCriterion("color <>", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThan(String value) {
            addCriterion("color >", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThanOrEqualTo(String value) {
            addCriterion("color >=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThan(String value) {
            addCriterion("color <", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThanOrEqualTo(String value) {
            addCriterion("color <=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLike(String value) {
            addCriterion("color like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotLike(String value) {
            addCriterion("color not like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorIn(List<String> values) {
            addCriterion("color in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotIn(List<String> values) {
            addCriterion("color not in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorBetween(String value1, String value2) {
            addCriterion("color between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotBetween(String value1, String value2) {
            addCriterion("color not between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceIsNull() {
            addCriterion("purchase_tax_price is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceIsNotNull() {
            addCriterion("purchase_tax_price is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceEqualTo(Double value) {
            addCriterion("purchase_tax_price =", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceNotEqualTo(Double value) {
            addCriterion("purchase_tax_price <>", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceGreaterThan(Double value) {
            addCriterion("purchase_tax_price >", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("purchase_tax_price >=", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceLessThan(Double value) {
            addCriterion("purchase_tax_price <", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceLessThanOrEqualTo(Double value) {
            addCriterion("purchase_tax_price <=", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceIn(List<Double> values) {
            addCriterion("purchase_tax_price in", values, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceNotIn(List<Double> values) {
            addCriterion("purchase_tax_price not in", values, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceBetween(Double value1, Double value2) {
            addCriterion("purchase_tax_price between", value1, value2, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceNotBetween(Double value1, Double value2) {
            addCriterion("purchase_tax_price not between", value1, value2, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateIsNull() {
            addCriterion("purchase_tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateIsNotNull() {
            addCriterion("purchase_tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateEqualTo(String value) {
            addCriterion("purchase_tax_rate =", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateNotEqualTo(String value) {
            addCriterion("purchase_tax_rate <>", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateGreaterThan(String value) {
            addCriterion("purchase_tax_rate >", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_tax_rate >=", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateLessThan(String value) {
            addCriterion("purchase_tax_rate <", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateLessThanOrEqualTo(String value) {
            addCriterion("purchase_tax_rate <=", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateLike(String value) {
            addCriterion("purchase_tax_rate like", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateNotLike(String value) {
            addCriterion("purchase_tax_rate not like", value, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateIn(List<String> values) {
            addCriterion("purchase_tax_rate in", values, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateNotIn(List<String> values) {
            addCriterion("purchase_tax_rate not in", values, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateBetween(String value1, String value2) {
            addCriterion("purchase_tax_rate between", value1, value2, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxRateNotBetween(String value1, String value2) {
            addCriterion("purchase_tax_rate not between", value1, value2, "purchaseTaxRate");
            return (Criteria) this;
        }

        public Criteria andEnableStatusIsNull() {
            addCriterion("enable_status is null");
            return (Criteria) this;
        }

        public Criteria andEnableStatusIsNotNull() {
            addCriterion("enable_status is not null");
            return (Criteria) this;
        }

        public Criteria andEnableStatusEqualTo(String value) {
            addCriterion("enable_status =", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotEqualTo(String value) {
            addCriterion("enable_status <>", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusGreaterThan(String value) {
            addCriterion("enable_status >", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusGreaterThanOrEqualTo(String value) {
            addCriterion("enable_status >=", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusLessThan(String value) {
            addCriterion("enable_status <", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusLessThanOrEqualTo(String value) {
            addCriterion("enable_status <=", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusLike(String value) {
            addCriterion("enable_status like", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotLike(String value) {
            addCriterion("enable_status not like", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusIn(List<String> values) {
            addCriterion("enable_status in", values, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotIn(List<String> values) {
            addCriterion("enable_status not in", values, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusBetween(String value1, String value2) {
            addCriterion("enable_status between", value1, value2, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotBetween(String value1, String value2) {
            addCriterion("enable_status not between", value1, value2, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNull() {
            addCriterion("spare1 is null");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNotNull() {
            addCriterion("spare1 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare1EqualTo(String value) {
            addCriterion("spare1 =", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotEqualTo(String value) {
            addCriterion("spare1 <>", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThan(String value) {
            addCriterion("spare1 >", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThanOrEqualTo(String value) {
            addCriterion("spare1 >=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThan(String value) {
            addCriterion("spare1 <", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThanOrEqualTo(String value) {
            addCriterion("spare1 <=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Like(String value) {
            addCriterion("spare1 like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotLike(String value) {
            addCriterion("spare1 not like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1In(List<String> values) {
            addCriterion("spare1 in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotIn(List<String> values) {
            addCriterion("spare1 not in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Between(String value1, String value2) {
            addCriterion("spare1 between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotBetween(String value1, String value2) {
            addCriterion("spare1 not between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNull() {
            addCriterion("spare2 is null");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNotNull() {
            addCriterion("spare2 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare2EqualTo(String value) {
            addCriterion("spare2 =", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotEqualTo(String value) {
            addCriterion("spare2 <>", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThan(String value) {
            addCriterion("spare2 >", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThanOrEqualTo(String value) {
            addCriterion("spare2 >=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThan(String value) {
            addCriterion("spare2 <", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThanOrEqualTo(String value) {
            addCriterion("spare2 <=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Like(String value) {
            addCriterion("spare2 like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotLike(String value) {
            addCriterion("spare2 not like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2In(List<String> values) {
            addCriterion("spare2 in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotIn(List<String> values) {
            addCriterion("spare2 not in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Between(String value1, String value2) {
            addCriterion("spare2 between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotBetween(String value1, String value2) {
            addCriterion("spare2 not between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNull() {
            addCriterion("spare3 is null");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNotNull() {
            addCriterion("spare3 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare3EqualTo(String value) {
            addCriterion("spare3 =", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotEqualTo(String value) {
            addCriterion("spare3 <>", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThan(String value) {
            addCriterion("spare3 >", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThanOrEqualTo(String value) {
            addCriterion("spare3 >=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThan(String value) {
            addCriterion("spare3 <", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThanOrEqualTo(String value) {
            addCriterion("spare3 <=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Like(String value) {
            addCriterion("spare3 like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotLike(String value) {
            addCriterion("spare3 not like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3In(List<String> values) {
            addCriterion("spare3 in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotIn(List<String> values) {
            addCriterion("spare3 not in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Between(String value1, String value2) {
            addCriterion("spare3 between", value1, value2, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotBetween(String value1, String value2) {
            addCriterion("spare3 not between", value1, value2, "spare3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}